<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
  <meta name="author" content="Stas Olekhnovich, stas.olekhnovich@gmail.com" />
  <%= stylesheet_link_tag 'hotice' %>
  <title>Start</title>
</head>
<body>
<div id="head">
  <div id="title">HotIce</div>
    <% if logged_in?  -%> 
      <div id="menu">
        <ul>
          <li class="active">
            <a href="#" title="Resume">Index</a>
          <li>
            <a href="1col.html" title="One Column">1 Column</a>
          </li>
          <li>
            <a href="tags.html" title="Tags">Tags</a>
          </li>
          <li>
            <a href="http://aaron.ganschow.us/" title="Blank">Author</a>
          </li>
        </ul>
      </div>
    <% end %>
</div>
<div id="body_wrapper">
  <div id="body">
    <% if flash[:notice] -%>
      <div id="notice"><%= flash[:notice] %></div>
    <% end -%>
   <% if @show_sidebar -%>   
     <div id="split">
        <div class="top"></div> 
        <div id="left">
          <div class="content">
            <h1><%= @title %></h1>
            <%= yield :layout %>
          </div>
        </div>
        <div id="right">
            <div class="content">
           <%= yield :sidebar %> 
          </div>
        </div>
        <div class="clearer"></div>
        <div class="bottom"></div>
      </div>
    <% else -%>
      <div id="all">
        <div class="top"></div>
        <div class="content">
          <h1><%= @title %></h1>         
          <%= yield :layout %>
        </div>
        <div class="clearer"></div>
        <div class="bottom"></div>
      </div>
    <% end -%>
    <div class="clearer"></div>
  </div>
  <div class="clearer"></div>
</div>
<div id="end_body"></div>
<div id="footer">Copyright Stas Olekhnovich 2008</div>
<% if ENV["RAILS_ENV"] == "development" %>
  <%= debug(params) %>
<% end %>
</body>
</html>
